package com.example.study.mqtt.controller;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


@NoArgsConstructor
@Data
@ToString
public class PushDataBean {

    @JsonProperty("source")
    private String source;
    @JsonProperty("vhost")
    private String vhost;
    @JsonProperty("destination")
    private String destination;
    @JsonProperty("destination_type")
    private String destinationType;
    @JsonProperty("routing_key")
    private String routingKey;
    @JsonProperty("arguments")
    private ArgumentsDTO arguments;
    @JsonProperty("properties_key")
    private String propertiesKey;

    @NoArgsConstructor
    @Data
    public static class ArgumentsDTO {
    }
}
